Skip to contentSkip to conversation

New dump driver patche.

parisc-linux Beerse, Corné 4 participants 4 messages Apr 8, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 23 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]

Quoted 1 line · Joel Soete

I had another question: this system has 2Gb of RAM and my

boot disk is of

Quoted 1 line

9Gb , so my question is: may I use any swap as dump device

over the famous

Quoted 1 line

2 first Gb of the disk

Yes, you can use any swap device, the limitation of the 2Gb is coming from
the capabilities of the scsi card itself, and on any "last" system the PDC is
able to acces over 2Gb. This limitation is only on old workstation and server,
like 712/K (not all scsi card)....I need to add this checking when configuring
the crash area. I've already start to add this, but it is not yet fully tested, mainly
because it is only for old system, A/N/L don't have this limitation.

Quoted 6 lines
Quoted 2 lines

(or is it possible to pass a parameter to the kernel to put this swap-dump on another disk).

Sorry, not yet, I didn't look yet how to retrieve option from the command line. But it is in my todo list to add "early dump" feature.

Is there a need for swap/dump-space, like on HP-UX? or can PA-Linux run without any swap and hence without any dump area like intel-linux? Or does PA-Linux need swapspace like VAX/VMS needs it?

CBee, just a list follower that hopes to find time to put live in his 9000/712/80.

#1 lore raw

Hi
Joel asked for something interresting, does someone know how I can retrieve an option passed to the kernel ? I never try it ? In which driver I need to look at ? If I can add some option, I'll be able for example to do an early dump in case of crash before multi user, and then before dump initialisation.

Cheers.

--
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

#2 lore raw
Quoted 4 lines

Joel asked for something interresting, does someone know how I can retrieve an option passed to the kernel ? I never try it ? In which driver I need to look at ? If I can add some option, I'll be able for example to do an early dump in case of crash before multi user, and then before dump initialisation.

look up the MODULE_PARM() macro. It's used in many drivers.

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#3 lore raw
In reply to [email protected]
Quoted 3 lines · On Tue, Apr 08, 2003 at 02:44:30PM +0200, [email protected] wrote:

Hi
Joel asked for something interresting, does someone know how I can retrieve an option passed to the kernel?

I think Randloph is right, MODULE_PARAM() should be sufficient.

But in case it's not, arch/parisc/kernel/setup.c:
void __init start_parisc(unsigned arg0, unsigned arg1,

arg1 is the command_line.

void __init setup_arch(char **cmdline_p)

cmdlinux_p is a pointer to "saved_command_line". a copy of the original.

An example is in kernel/printk.c:__setup("console=", console_setup);

hth,
grant